#!/bin/bash
FILE=regulacija.rrd
if [ ! -f $FILE ]
then
	rrdtool create $FILE --start N --step 300 \
	DS:temp:GAUGE:600:U:U \
	DS:outtemp:GAUGE:600:U:U \
	RRA:AVERAGE:0.5:1:12
	echo Database $FILE created!
else
	echo Database $FILE already exist!
fi
